package com.arcpan.Mapper;

import com.arcpan.Entity.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserInfoMapper {
    UserInfo selectByEmail(String email);

    UserInfo selectByNickName(String nickName);

    void insert(UserInfo userInfo2);

    void updateByUserId(@Param("userInfo") UserInfo userInfo, String userId);

    UserInfo selectByUserId(String userId);
}
